package pl.diagnoser.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

public class SearchResultAttributesDTO implements IsSerializable {

	private long searchResultAttributesId;
	private SearchResultDTO searchResult;
	private String attributeName;
	private String attributeValue;
	
	public SearchResultAttributesDTO(){}
	public SearchResultAttributesDTO(long searchResultAttributesId,
			SearchResultDTO searchResult, String attributeName,
			String attributeValue) {
		super();
		this.searchResultAttributesId = searchResultAttributesId;
		this.searchResult = searchResult;
		this.attributeName = attributeName;
		this.attributeValue = attributeValue;
	}
	public SearchResultAttributesDTO(SearchResultDTO searchResult, String attributeName,
			String attributeValue) {
		super();
		this.searchResult = searchResult;
		this.attributeName = attributeName;
		this.attributeValue = attributeValue;
	}
	
	public long getSearchResultAttributesId() {
		return searchResultAttributesId;
	}
	public void setSearchResultAttributesId(long searchResultAttributesId) {
		this.searchResultAttributesId = searchResultAttributesId;
	}
	
	public SearchResultDTO getSearchResult() {
		return searchResult;
	}
	public void setSearchResult(SearchResultDTO searchResult) {
		this.searchResult = searchResult;
	}
	
	public String getAttributeName() {
		return attributeName;
	}
	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}
	
	public String getAttributeValue() {
		return attributeValue;
	}
	public void setAttributeValue(String attributeValue) {
		this.attributeValue = attributeValue;
	}
}
